package com.huaguoguo.spring.annotation;

import java.lang.annotation.*;

/**
 * description:
 * author:huaguoguo
 * Date: 2018/12/9
 * Time: 22:18
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface Service {

    /**
     * 指定组件的名字
     * @return
     */
    String value() default "";
}
